package cn.seaboot.admin.other.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * 微信信息表 [t_sys_wx_info]
 * <p>
 *
 * @author ChenSS on  2019-03-25 11:40
 */
@Schema(description = "微信信息表 [t_sys_wx_info] 实体类")
public class SysWxInfo implements Serializable {
    private static final long serialVersionUID = 5749218842662705823L;

    /**
     * ID
     */
    @NotNull
    @Schema(description = "ID")
    private String userId;
    /**
     * 微信号
     */
    @Size(max = 32)
    @Schema(description = "微信号")
    private String openId;
    /**
     * 微信头像
     */
    @Size(max = 255)
    @Schema(description = "微信头像")
    private String userHeader;
    /**
     * 微信昵称
     */
    @Size(max = 50)
    @Schema(description = "微信昵称")
    private String userName;
    /**
     * 国家
     */
    @Size(max = 32)
    @Schema(description = "国家")
    private String userCountry;
    /**
     * 省
     */
    @Size(max = 32)
    @Schema(description = "省")
    private String userProvince;
    /**
     * 市
     */
    @Size(max = 32)
    @Schema(description = "市")
    private String userCity;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserHeader() {
        return userHeader;
    }

    public void setUserHeader(String userHeader) {
        this.userHeader = userHeader;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserCountry() {
        return userCountry;
    }

    public void setUserCountry(String userCountry) {
        this.userCountry = userCountry;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "SysWxInfo{" +
                "userId='" + userId + '\'' +
                ", openId='" + openId + '\'' +
                ", userHeader='" + userHeader + '\'' +
                ", userName='" + userName + '\'' +
                ", userCountry='" + userCountry + '\'' +
                ", userProvince='" + userProvince + '\'' +
                ", userCity='" + userCity + '\'' +
                '}';
    }
}
